package com.lxit.pojo;

public class Teacher {
    private Integer id;

    private String name;

    private String pass;

    private Integer schoolId;

    public Teacher(Integer id, String name, String pass, Integer schoolId) {
        this.id = id;
        this.name = name;
        this.pass = pass;
        this.schoolId = schoolId;
    }

    public Teacher() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass == null ? null : pass.trim();
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }
}